<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--单个文件上传-->
<form action="/upload" method="post" enctype="multipart/form-data">
    请选择文件：<input type="file" name="file"> <br>
    请选择文件：<input type="submit" value="提交文件">

</form>
</body>
</html>